package dijkstraAlg;

public class Node {
    Character name;

    Node(Character c) {
        if (c == null)
            throw new NullPointerException("Null Character");
        name = c;
    }

    @Override
    public String toString() {
        return String.valueOf(name);
    }
}
